net/netip.Addr.v4 (method)
21 uses
net/netip (current package)
netip.go#L271: ip[i] = ip4.v4(0)
netip.go#L272: ip[i+1] = ip4.v4(1)
netip.go#L273: ip[i+2] = ip4.v4(2)
netip.go#L274: ip[i+3] = ip4.v4(3)
netip.go#L351: func (ip Addr) v4(i uint8) uint8 {
netip.go#L513: return ip.v4(0) == 169 && ip.v4(1) == 254
netip.go#L528: return ip.v4(0) == 127
netip.go#L543: return ip.v4(0)&0xf0 == 0xe0
netip.go#L569: return ip.v4(0) == 224 && ip.v4(1) == 0 && ip.v4(2) == 0
netip.go#L615: return ip.v4(0) == 10 ||
netip.go#L616: (ip.v4(0) == 172 && ip.v4(1)&0xf0 == 16) ||
netip.go#L617: (ip.v4(0) == 192 && ip.v4(1) == 168)
netip.go#L844: ret = appendDecimal(ret, ip.v4(0))
netip.go#L846: ret = appendDecimal(ret, ip.v4(1))
netip.go#L848: ret = appendDecimal(ret, ip.v4(2))
netip.go#L850: ret = appendDecimal(ret, ip.v4(3))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |